<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<title>简历预览</title>
<meta content="" name="description"/>
<meta content="" name="keywords"/>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<style>
button span, a.button, a.button span {background-image: url("images/btn.gif"); background-repeat: no-repeat;}
button.normal span, a.button.normal { background-position: 0 -240px;}
.default span, .fresh span, .normal span, .small-default span {display: inline-block;height: 26px;}
.normal span, a.normal {background-position: 0 -300px;}

button span, a.button, a.button span {background-image: url("images/btn.gif"); background-repeat: no-repeat;}
button.normal span span, a.button.normal span {background-position: right -270px;  color: #666666;}
button.normal span span{display: block;    height: 26px;line-height: 26px;margin-bottom: 0; padding-left: 0;padding-right: 20px; white-space: nowrap;}
button.normal span{display: inline-block;height: 30px;line-height: 30px; padding-left: 20px; vertical-align: middle;}
.big-default span{background: url("../images/btn.gif") no-repeat scroll 0 -120px transparent; height: 26px;line-height: 26px;}
.big-default span span { background-position: right -150px;width:auto;}
</style>
</head>
<body style="color:#333;font-size:12px; text-align:left;background: none;padding-top:10px">
<div style="width:800px;margin:auto;">
    <div style="border: 1px solid rgb(219, 219, 219); padding: 30px 40px;">
        <?=$baseInfo?>
        <?=$jobList //工作/实习经历?>
        <?=$jobhistoryList//求职经历?>
        <?=$certList?>
        <?=$languageList;//语言能力?>
        <?=$eduList; //教育?>
        <?=$projectList; // 项目经验?>
        <?=$trainList //培训?>
        <?=$itList //IT技能?>
        <?=$positionList;//校内职务?>
        <?=$schoolAwardList;//学校经历?>
        <?=$otherList;//其他?>
	<div style="padding:0;margin:0;">
		<dt style="font-size:16px;font-weight:bold;color:#333;padding:20px 0;">评分：</dt>
		<dd style="margin:0 0 0 25px;">
		<form method="post" action="index.php?c=ResumeScoreSet&a=Score">
		<input type="hidden" name="uid" value="<?=$uid?>" />
		<input type="hidden" name="eid" value="<?=$eid?>" />
		<table>
			<?php
				if($scoreField){
					foreach($scoreField as $field){
			?>
			<tr><td>
				<span style="display:inline-block;width:100px;"><label><?=$field['name']?>:</label></span>
				<?php
					if($view_detail){
						echo '<label>'.$view_detail[$field['id']].'</label>';
					}else{
				?>
				<select name="field_<?=$field['id']?>">
				<option value="1">1</option>
				<?php
				if($field['max_score'] > 1){
					for($i=2; $i<=$field['max_score']; $i++){
						echo '<option value="'.$i.'">'.$i.'</option>';
					}
				}	
				?>
				</select>分
				<?php
					}
				?>
			   </td>
		        </tr>
			<?php
					}
				}
				if($view_total){
					echo '<tr><td><span style="display:inline-block;width:100px;"><label>总计:</label></span><label>'.$view_total.'</label></td></tr>';
				}
			?>
			<tr>
				<td>
					<span style="display:inline-block;width:100px;"><label>评语:</label></span>
					<textarea name="commit" rows="5" style="width:500px;"><?=$view_commit?></textarea>
				</td>
			</tr>
		</table>
		<?php
			if(!$view_detail){
		?>
		<input type="submit" value="评分" />
		<?php
			}
		?>
		</form>
		</dd>
    	</div>
    </div>
</div>


</body>
</html>
